package 方法;

public class test01 {
    public static void main(String[] args) {
        number();
        number1(10);
        int a= 15;
        number1(a);
    }

    public static  void number(){
        int a = 10;
        if(a%2==0){
            System.out.println("这是偶数");
        }else{
            System.out.println("这是奇数");
        }
    }

    public  static void number1(int a){
        if(a%2==0){
            System.out.println("这是偶数");
        }else{
            System.out.println("这是奇数");
        }
    }


}
